//
//  SexCheck.m
//  设计模式
//
//  Created by huyang on 2020/7/6.
//  Copyright © 2020 test. All rights reserved.
//

#import "SexCheck.h"

@implementation SexCheck
-(void)handleCheck:(Person *)checkStr
{
    if (checkStr.sex.length > 0) {
        NSLog(@"性别校验通过");
        [super handleCheck:checkStr];
    } else {
        NSLog(@"请输入性别");
    }
}
@end
